<?php


class template_home extends theme
{
	
	protected function head()
	{
	?>
<!--[if IE]>
<script type="text/javascript" language="javascript" src="js/excanvas.compiled.js"></script>
<![endif]-->
<script type="text/javascript" language="javascript" src="js/jquery.bt.min.js"></script>

<link type="text/css" rel="stylesheet" href="templates/home/css/home.css">
<script type="text/javascript" language="javascript" src="templates/home/js/home.js"></script>
	<?php
	}


	public function center()
	{
	?>
	
<div class="center-title">使用我们的系统有什么优势?</div>
<div class="center-content">
	<div class="our-features">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
	<td width="32%" valign="top" bgcolor="#F6F6F6">
	<div class="feature-title">功能由您自定</div>
	<div class="feature-description" id="feature-1">
	您可以自定义要实现的任何功能，我们都拥有专业的人员帮您提供解决方案。 
	</div>
	<div class="feature-more"><a href="<?php echo url('./?controller=content&task=detail&id=2' ); ?>" target="_blank" title="功能由您自定">更多详情...</a></div>
	</td>
	<td></td>
	<td width="32%" valign="top" bgcolor="#F6F6F6">
	<div class="feature-title">终身提供维护</div>
	<div class="feature-description" id="feature-2">
	您在我们的系统上开发的项目，将享有永久性的服务，无限期的免费为您修复漏洞。
	</div>
	<div class="feature-more"><a href="<?php echo url('./?controller=content&task=detail&id=4' ); ?>" target="_blank" title="终身提供维护">更多详情...</a></div>
	</td>
	<td></td>
	<td width="32%" valign="top" bgcolor="#F6F6F6">
	<div class="feature-title">程序高效灵活</div>
	<div class="feature-description" id="feature-3">
	专业开发团队，面向对象编程，MVC分层模式，低耗合，高内聚，可伸缩，易扩展。 
	</div>
	<div class="feature-more"><a href="<?php echo url('./?controller=content&task=detail&id=5' ); ?>" target="_blank" title="程序高效灵活">更多详情...</a></div>
	</td>
	</tr>
	</table>
	</div>
</div>

<div class="center-title">独创的在线开发系统</div>
<div class="center-content">

	<table>
	<tr><td width="250">
		<img src="templates/home/images/procedure.gif" border="0" alt="开发流程" />
	</td><td valign="top" >
			
		<div class="procedure">
		
		<div class="description">
		&nbsp; &nbsp; &nbsp; &nbsp; 您可以把她理解成是一套任务系统，可以不受限制的发布任务， 系统会指派开发人员完成该任务。 您可以通过在线评论，IM聊天工具和开发人员进行交流。直接安排和查看开发人员的工作，并随时跟踪和查看网站进度。
		</div>

		<div class="compare-title">与传统开发方式对比</div>
		
		<div class="compare-detail">
		<table width="90%" border="0" cellpadding="2" cellspacing="1" bgcolor="#eeeeee" align="center">
		<thead>
		<tr>
		<td align="center"></td>
		<td align="center">传统开发方式</td>
		<td align="center">在线开发系统</td>
		</tr>
		</thead>
		<tbody>
		<tr>
		<td>与开发人员直接交流</td>
		<td><img src="images/icon_no.gif" width="16" height="16" alt="不支持" /></td>
		<td><img src="images/icon_yes.gif" width="16" height="16" alt="支持" /></td>
		</tr>
		<tr>
		<td>在线调整网站功能</td>
		<td><img src="images/icon_no.gif" width="16" height="16" alt="不支持" /></td>
		<td><img src="images/icon_yes.gif" width="16" height="16" alt="支持" /></td>
		</tr>
		<tr>
		<td>实时跟踪网站进度</td>
		<td><img src="images/icon_no.gif" width="16" height="16" alt="不支持" /></td>
		<td><img src="images/icon_yes.gif" width="16" height="16" alt="支持" /></td>
		</tr>
		<tr>
		<td>终生免费修复漏雨</td>
		<td><img src="images/icon_no.gif" width="16" height="16" alt="不支持" /></td>
		<td><img src="images/icon_yes.gif" width="16" height="16" alt="支持" /></td>
		</tr>
		</tbody>
		</table>
		</div>
		
		<div class="business">

			<div class="left">
			<div class="title">选择我们的理由</div>
			<ul>
			<li>系统级别工程师， 高效安全。</li>
			<li>按工时计费，低至<span class="required"><?php echo HOURLY_RATE; ?>元/小时</span>。</li>
			<li>报价问询机制， 满足您的预算。</li>
			</ul>
			</div>
	
			<div class="right">
			<div class="title">适用开发范围</div>
			<ul>
			<li>新建网站开发。</li>
			<li>现存网站漏洞修复，改动或升级。</li>
			<li>现存网站定期维护。</li>
			</ul>
			</div>
		
		</div>

		</div>

	</td>

	</tr>
	</table>		
</div>
		
<div class="center-title">主要开发人员</div>
<div class="center-content">
	<div class="team-users">
	<ul>
	<?php
	$team_users = $this->get('team_users');
	
	if(count($team_users))
	{
	$t = time();
	foreach($team_users as $user)
	{
	$is_online = ($t-$user->beat_time)<660;
	?>
	<li>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
	<td width="70" align="center" valign="top">
		<div title="<?php echo $user->description; ?>" class="user-avatar">
		<a href="<?php echo url('./?controller=team&task=user_detail&user_id='.$user->id.'&menu_id=13' ); ?>" target="_blank">
		<img src="storage/avatar/<?php echo $user->avatar; ?>" width="64" border="0" alt="<?php echo $user->name; ?> 头像" />
		</a>
		</div>
	</td>
	<td valign="top">
		<div class="name">
		<a href="<?php echo url('./?controller=team&task=user_detail&user_id='.$user->id.'&menu_id=13' ); ?>" target="_blank" title="点击查看开发团队成员 <?php echo $user->name; ?> 资料">
		<?php echo $user->name; ?>
		</a>
		</div>
		
		<div class="job"><?php echo $user->job; ?></div>
		
		<div class="ims">
		<?php if($user->qq){ ?>
		<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=<?php echo $user->qq; ?>&amp;Site=<?php echo urlencode(bone::get_config('system')->site_name); ?>&amp;Menu=yes" target="_blank">
		<img src="http://wpa.qq.com/pa?p=1:<?php echo $user->qq; ?>:4" alt="QQ" border="0" height="16">
		</a>
		<?php } ?>
		
		<?php if($user->wangwang){ ?>
		<a href="http://amos1.taobao.com/msg.ww?v=2&amp;uid=<?php echo urlencode($user->wangwang); ?>&amp;s=2" target="_blank">
		<img src="http://amos1.taobao.com/online.ww?v=2&amp;uid=<?php echo urlencode($user->wangwang); ?>&amp;s=2" alt="淘宝旺旺" border="0" width="16" height="16">
		</a>
		<?php } ?>
		</div>
	</td>
	<td valign="top" width="16">
		<div title="<?php echo $is_online?'当前在线':'当前不在线' ?>" class="user-status">
		<img src="images/icon_<?php echo $is_online?'online':'offline' ?>.gif" border="0"/>
		</div>
	</td>
	</tr>
	</table>
	
	</li>
	<?php
	}
	}
	?>
	</ul><div class="clrl"></div>
	</div>
	<div class="align-right"><a href="<?php echo url('./?controller=team&task=users&menu_id=13'); ?>" title="开发团队">更多开发人员...</a></div>
</div>

	<?php
	}

}
?>